package com.example.musicplatform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * @Author: caowj1217
 * @Date: 2021/7/23上午9:15
 * @Description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "user")
public class User implements Serializable {

    @TableId
    private Long userId;
    private String userName;
    private String passWord;
    private int userIdentity;
    private Date createTime;
    private Date updateTime;

    @TableField(exist = false)
    private Set<Sheet> sheetSet;

}
